<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QSculpt: Document Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QSculpt
   &#160;<span id="projectnumber">0.0.1a</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Document Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Document" --><!-- doxytag: inherits="IDocument" -->
<p><code>#include &lt;<a class="el" href="_document_8h_source.html">Document.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Document:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_document.png" usemap="#Document_map" alt=""/>
  <map id="Document_map" name="Document_map">
<area href="class_i_document.html" alt="IDocument" shape="rect" coords="0,0,71,24"/>
</map>
 </div></div>

<p><a href="class_document-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_document_1_1_impl.html">Impl</a></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_document.html#a4acc767804cb38da1d2ad1431b703797">loadFile</a> (const QString &amp;fileName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_document.html#a037f1e265c7fb02011cced3de4c87687">saveFile</a> (const QString &amp;fileName)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16cb71ac715d8577a72e85d32949a18b"></a><!-- doxytag: member="Document::selectObject" ref="a16cb71ac715d8577a72e85d32949a18b" args="(int iid)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>selectObject</b> (int iid)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6158e1b0285fd1e1d043bcb89f9e4af6"></a><!-- doxytag: member="Document::getSelectedObjects" ref="a6158e1b0285fd1e1d043bcb89f9e4af6" args="() const " -->
virtual QList&lt; <a class="el" href="class_scene_node.html">SceneNode</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>getSelectedObjects</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_scene_node.html">SceneNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_document.html#ad097c0c4cdbd1627be4df4322ffb70a1">rootNode</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="class_scene_node.html">SceneNode</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_document.html#a93caf4b93029913f164b572d2a648b51">rootNode</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_scene.html">Scene</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_document.html#a89d409d2d9365ef19488135672b7cc97">scene</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_scene.html">Scene</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_document.html#a8fd2d1d7ac503be9f1225952d8db36bd">scene</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a80d13fb73b89a4ef85597ddd16c8fffc"></a><!-- doxytag: member="Document::sceneIterator" ref="a80d13fb73b89a4ef85597ddd16c8fffc" args="()" -->
virtual <a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>sceneIterator</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0887168cb190d06de63a700fdc521574"></a><!-- doxytag: member="Document::constSceneIterator" ref="a0887168cb190d06de63a700fdc521574" args="() const " -->
virtual <a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_scene_node.html">SceneNode</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>constSceneIterator</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0e02ce7400a9630d5864d4be51668d2e"></a><!-- doxytag: member="Document::surfaceIterator" ref="a0e02ce7400a9630d5864d4be51668d2e" args="()" -->
<a class="el" href="class_iterator.html">Iterator</a>&lt; <a class="el" href="class_i_surface.html">ISurface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>surfaceIterator</b> ()</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Holds all the document data.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Juan Roberto Cabral Flores &lt;<a href="mailto:roberto.cabral@gmail.com">roberto.cabral@gmail.com</a>&gt; </dd></dl>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a4acc767804cb38da1d2ad1431b703797"></a><!-- doxytag: member="Document::loadFile" ref="a4acc767804cb38da1d2ad1431b703797" args="(const QString &amp;fileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Document::loadFile </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Load file </p>

<p>Implements <a class="el" href="class_i_document.html#a1938928d6be86098bd39e8afe290cf11">IDocument</a>.</p>

</div>
</div>
<a class="anchor" id="ad097c0c4cdbd1627be4df4322ffb70a1"></a><!-- doxytag: member="Document::rootNode" ref="ad097c0c4cdbd1627be4df4322ffb70a1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_scene_node.html">SceneNode</a> * Document::rootNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the root scene node of the document. </p>

<p>Implements <a class="el" href="class_i_document.html#accfbfa3073bd911e3280038beba2f817">IDocument</a>.</p>

</div>
</div>
<a class="anchor" id="a93caf4b93029913f164b572d2a648b51"></a><!-- doxytag: member="Document::rootNode" ref="a93caf4b93029913f164b572d2a648b51" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_scene_node.html">SceneNode</a> * Document::rootNode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the root node of the document </p>

<p>Implements <a class="el" href="class_i_document.html#a963911b596c5368bad2c6b0bb10aa17b">IDocument</a>.</p>

</div>
</div>
<a class="anchor" id="a037f1e265c7fb02011cced3de4c87687"></a><!-- doxytag: member="Document::saveFile" ref="a037f1e265c7fb02011cced3de4c87687" args="(const QString &amp;fileName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Document::saveFile </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>fileName</em></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Save file </p>

<p>Implements <a class="el" href="class_i_document.html#ad5f9e1b4ec84adbb510df6526d86ec67">IDocument</a>.</p>

</div>
</div>
<a class="anchor" id="a89d409d2d9365ef19488135672b7cc97"></a><!-- doxytag: member="Document::scene" ref="a89d409d2d9365ef19488135672b7cc97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_scene.html">Scene</a> * Document::scene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the scene object of the document. The scene object is a container with all the objects or actors in the scene. </p>

<p>Implements <a class="el" href="class_i_document.html#a4c10de8b80a4ed82c07c9323b5ce883f">IDocument</a>.</p>

</div>
</div>
<a class="anchor" id="a8fd2d1d7ac503be9f1225952d8db36bd"></a><!-- doxytag: member="Document::scene" ref="a8fd2d1d7ac503be9f1225952d8db36bd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_scene.html">Scene</a> * Document::scene </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the scene object of the document. The scene object is a container with all the objects or actors in the scene. </p>

<p>Implements <a class="el" href="class_i_document.html#af2fadea07bf34984ebc5e14401a12367">IDocument</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>qsculpt/include/<a class="el" href="_document_8h_source.html">Document.h</a></li>
<li>qsculpt/src/Document.cpp</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sat Aug 27 2011 15:38:53 for QSculpt by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
